﻿using System;
using System.Collections.Generic;
using GameListEditor.HyperSpin;
using Tools.MAME;

namespace GameListEditor
{
    ///-------------------------------------------------------------------------------------------------
    /// <summary> Thread helper. </summary>
    ///-------------------------------------------------------------------------------------------------
    class ThreadHelper
    {
        ///-------------------------------------------------------------------------------------------------
        /// <summary> The filter. </summary>
        /// <value> The filter. </value>
        ///-------------------------------------------------------------------------------------------------
        public DatabaseFilter Filter
        {
            get;
            set;
        }

        ///-------------------------------------------------------------------------------------------------
        /// <summary> The items. </summary>
        /// <value> The items. </value>
        ///-------------------------------------------------------------------------------------------------
        public List<DbItem> Items
        {
            get;
            set;
        }

        ///-------------------------------------------------------------------------------------------------
        /// <summary> The list xml file. </summary>
        /// <value> The list xml file. </value>
        ///-------------------------------------------------------------------------------------------------
        public String ListXMLFile
        {
            get;
            set;
        }

        ///-------------------------------------------------------------------------------------------------
        /// <summary> The catVer file. </summary>
        /// <value> The catVer file. </value>
        ///-------------------------------------------------------------------------------------------------
        public String CatVerFile
        {
            get;
            set;
        }

        ///-------------------------------------------------------------------------------------------------
        /// <summary> Used to load HyperSpin game list. </summary>
        /// <value> Game list in HyperSpin format. </value>
        ///-------------------------------------------------------------------------------------------------
        public HyperSpinGameList HSGameList
        {
            get;
            set;
        }

        ///-------------------------------------------------------------------------------------------------
        /// <summary> Constructor. </summary>
        ///-------------------------------------------------------------------------------------------------
        public ThreadHelper()
        {
            Filter = null;
            Items = null;
            ListXMLFile = "";
            CatVerFile = "";
            HSGameList = new HyperSpinGameList();
        }
    }
}
